package showtime.framework.manager
{
	import showtime.framework.core.pattern.Singleton;
	
	public class RevisionManager extends Singleton
	{
		public static var cache:XML = null;
		public function RevisionManager()
		{
			
		}
		public static function register( xmlString:String ):void
		{
			cache = new XML( xmlString );
		}
		public static function getInstance():RevisionManager
		{
			return RevisionManager(Singleton.getInstanceOrCreate(RevisionManager));
			
		}
		
		/**
		 * 获得文件的版本。
		 *  
		 * @param file
		 * @return 
		 * 
		 */		
		public static function getVersion(file:String):String
		{
			//return "?"+cache.revision.( @file == file ).@version;
			return "";
		}
	}
}